package eu.szemraj.net.remoting.amfLite {

    public class AMFLiteRequest {
    	
    	
    	public var functionName:String;
    	public var params:Array;
        
        public function AMFLiteRequest( functionName:String, params:Array ) {
        	
            this.functionName = functionName;
            this.params = params;
        }

        public function getRequestArray():Array {
        	
        	var arr:Array = [functionName ];
        	for each( var param:* in params ) {
        		
        		arr.push( param );
        		
        	}
        	return arr;
        }
    }
}
